|
RAIS
3.2
|
00001 00028 using System; 00029 using System.Collections.Generic; 00030 using System.Data; 00031 using System.Text; 00032 00033 namespace RAIS.Common.TableManagement 00034 { 00035 public class TableGroup: DBObject 00036 { 00037 #region Fields 00038 bool accepted; 00039 #endregion 00040 00041 #region Properties 00042 public bool Accepted 00043 { 00044 get { return this.accepted; } 00045 set { this.accepted = value; } 00046 } 00047 #endregion 00048 00049 #region Constructors 00050 public TableGroup() 00051 { } 00052 public TableGroup(IDataRecord record) 00053 { 00054 this.ID = (int)record["PK Table Group ID"]; 00055 this.Name = record["Table Group Name"].ToString(); 00056 this.accepted = ((byte)record["Accepted"] == 0) ? false : true; 00057 } 00058 #endregion 00059 } 00060 }